package com.t2t.top.struct.$06adapter.ext;

public class InputStreamReaderTest {

    public static void main(String[] args) {
        InputStream inputStream = new InputStream();
        inputStream.data = 1;

        InputStreamReader reader = new InputStreamReader(inputStream);
        System.out.println(reader.read());

        FileReader fileReader = new FileReader(inputStream);
        System.out.println(fileReader.read());
    }
}  